-
Home
-
UpsellWP – WooCommerce Upsell and Related Products Offers
-
2.2.1
-
Code
-
Classes
- Cart
| Total Complexity |
105 |
| Dependencies |
9 |
| Dependents |
6 |
| Total lines |
494 |
| Lines of code |
302 |
| Logical lines of code |
192 |
| Comment lines |
127 |
| Methods |
14 |
| Properties |
7 |
Methods 14
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| addOffer() |
B |
38 |
20 |
61 |
| getData() |
A |
40 |
14 |
58 |
| isOfferApplicable() |
A |
45 |
13 |
40 |
| getPricePerItem() |
A |
51 |
10 |
23 |
| getBundledItems() |
A |
56 |
10 |
17 |
| addProduct() |
A |
51 |
9 |
24 |
| isProductApplicable() |
S |
53 |
7 |
22 |
| getAddedProducts() |
S |
61 |
5 |
12 |
| getAppliedOffers() |
S |
61 |
5 |
12 |
| getProductIds() |
S |
61 |
5 |
12 |
| getRecentlyAddedProductId() |
S |
66 |
3 |
8 |
| filterProducts() |
S |
67 |
2 |
7 |
| hasProduct() |
S |
79 |
1 |
3 |
| isOfferApplied() |
S |
78 |
1 |
3 |